import { App } from 'vue'

import {
  Avatar,
  Iphone,
  Location,
  Setting,
  Goods,
  ChatLineRound,
  Monitor,
  Fold,
  Expand,
  ArrowDown,
  ArrowLeft,
  Close,
  Refresh,
  Search,
  Edit,
  Delete
} from '@element-plus/icons-vue'
const components = [
  Avatar,
  Iphone,
  Location,
  Setting,
  Goods,
  ChatLineRound,
  Monitor,
  Fold,
  Expand,
  ArrowDown,
  ArrowLeft,
  Close,
  Refresh,
  Search,
  Edit,
  Delete
]
export default function (app: App): void {
  for (const component of components) {
    app.component(component.name, component)
  }
}
